#!/usr/bin/env node

const fs = require('fs'),
      src = process.argv[2];
if(!fs.existsSync(src)){
  console.error('not');
  process.exit(0);
}
if(!fs.statSync(src).isFile()){
  console.error(`${src} is not a file`);
  process.exit(1);
}
fs.unlinkSync(src);
